<template>
  <h1>app根组件</h1>
  <div>
    <count @GetCount="add"></count>
  </div>
</template>

<script>
import count from './count.vue'

export default {
  components:{
    count
  },
  methods:{
    add(e){
      console.log(e)
    }
  }

}
</script>

<style>

</style>